package com.four.service.impl;

import com.four.dao.IStaffDao;
import com.four.pojo.Staff;
import com.four.service.IStaffSer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 于志豪
 * @create 2021-10-27 20:00
 */

@Service("staffSerImpl")
public class StaffSerImpl implements IStaffSer {
    @Autowired
    @Qualifier("iStaffDao")
    private IStaffDao iStaffDao;

    @Override
    public List<Staff> findSG() {
        return iStaffDao.findSG();
    }

    @Override
    public List<Staff> findXS() {
        return iStaffDao.findXS();
    }
}
